package com.runvp.common.enums;


/**
 * 支付方式
 * @author xukk_dp
 */

public enum OrderPayMethod implements BaseEnumInterface {

    PAY_SCORE("score", "积分支付"),
    PAY_CLOUD_CARD("cloudCard", "云卡支付"),
    PAY_QR_WECHAT("wechatQr", "微信二维码"),
    PAY_QR_ALIPAY("alipayQr", "支付宝二维码"),
    PAY_WECHAT("wechat", "微信小程序支付");


    private final String code;
    private final String desc;
    private String defaulted;

    @Override
    public String getDefaulted() {
        return defaulted;
    }


    OrderPayMethod(String code, String desc, String defaulted) {
        this.code = code;
        this.desc = desc;
        this.defaulted = defaulted;
    }


    OrderPayMethod(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getDesc() {
        return desc;
    }
}
